package com.aboo.infrastructure.mybatis.entity.po;

import com.aboo.infrastructure.base.domain.po.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author louan
 * @since 2024-03-30
 */
@Getter
@Setter
@TableName("usr_user")
public class UserPo extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("user_code")
    private String userCode;

    @TableField("user_name")
    private String userName;

    @TableField("age")
    private Integer age;

    @TableField("sex")
    private String sex;
}
